Optimal. Leaf size=43 \[ \frac{8 \tan (x)}{15 \sqrt{\sec ^2(x)}}+\frac{4 \tan (x)}{15 \sec ^2(x)^{3/2}}+\frac{\tan (x)}{5 \sec ^2(x)^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0149745, antiderivative size = 43, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.375, Rules used = {4122, 192, 191} \[ \frac{8 \tan (x)}{15 \sqrt{\sec ^2(x)}}+\frac{4 \tan (x)}{15 \sec ^2(x)^{3/2}}+\frac{\tan (x)}{5 \sec ^2(x)^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4122
Rule 192
Rule 191
Rubi steps
\begin{align*} \int \frac{1}{\sec ^2(x)^{5/2}} \, dx &=\operatorname{Subst}\left (\int \frac{1}{\left (1+x^2\right )^{7/2}} \, dx,x,\tan (x)\right )\\ &=\frac{\tan (x)}{5 \sec ^2(x)^{5/2}}+\frac{4}{5} \operatorname{Subst}\left (\int \frac{1}{\left (1+x^2\right )^{5/2}} \, dx,x,\tan (x)\right )\\ &=\frac{\tan (x)}{5 \sec ^2(x)^{5/2}}+\frac{4 \tan (x)}{15 \sec ^2(x)^{3/2}}+\frac{8}{15} \operatorname{Subst}\left (\int \frac{1}{\left (1+x^2\right )^{3/2}} \, dx,x,\tan (x)\right )\\ &=\frac{\tan (x)}{5 \sec ^2(x)^{5/2}}+\frac{4 \tan (x)}{15 \sec ^2(x)^{3/2}}+\frac{8 \tan (x)}{15 \sqrt{\sec ^2(x)}}\\ \end{align*}
Mathematica [A] time = 0.0249409, size = 31, normalized size = 0.72 \[ \frac{(150 \sin (x)+25 \sin (3 x)+3 \sin (5 x)) \sec (x)}{240 \sqrt{\sec ^2(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.072, size = 29, normalized size = 0.7 \begin{align*}{\frac{\sin \left ( x \right ) \left ( 3\, \left ( \cos \left ( x \right ) \right ) ^{4}+4\, \left ( \cos \left ( x \right ) \right ) ^{2}+8 \right ) }{15\, \left ( \cos \left ( x \right ) \right ) ^{5}} \left ( \left ( \cos \left ( x \right ) \right ) ^{-2} \right ) ^{-{\frac{5}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.16518, size = 50, normalized size = 1.16 \begin{align*} \frac{8 \, \tan \left (x\right )}{15 \, \sqrt{\tan \left (x\right )^{2} + 1}} + \frac{4 \, \tan \left (x\right )}{15 \,{\left (\tan \left (x\right )^{2} + 1\right )}^{\frac{3}{2}}} + \frac{\tan \left (x\right )}{5 \,{\left (\tan \left (x\right )^{2} + 1\right )}^{\frac{5}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.44419, size = 59, normalized size = 1.37 \begin{align*} -\frac{1}{15} \,{\left (3 \, \cos \left (x\right )^{4} + 4 \, \cos \left (x\right )^{2} + 8\right )} \sin \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 17.704, size = 44, normalized size = 1.02 \begin{align*} \frac{8 \tan ^{5}{\left (x \right )}}{15 \left (\sec ^{2}{\left (x \right )}\right )^{\frac{5}{2}}} + \frac{4 \tan ^{3}{\left (x \right )}}{3 \left (\sec ^{2}{\left (x \right )}\right )^{\frac{5}{2}}} + \frac{\tan{\left (x \right )}}{\left (\sec ^{2}{\left (x \right )}\right )^{\frac{5}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.25735, size = 34, normalized size = 0.79 \begin{align*} \frac{1}{5} \, \mathrm{sgn}\left (\cos \left (x\right )\right ) \sin \left (x\right )^{5} - \frac{2}{3} \, \mathrm{sgn}\left (\cos \left (x\right )\right ) \sin \left (x\right )^{3} + \mathrm{sgn}\left (\cos \left (x\right )\right ) \sin \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]